package com.heima.common.util;

import com.heima.common.dto.User;

public class MediaThreadLocalUtil {
    public static  ThreadLocal<User> tl=new ThreadLocal<>();

    public static void set(User user)
    {
        tl.set(user);
    }
    public static User get()
    {
        return tl.get();
    }
    public static void remove()
    {
        tl.remove();
    }
}
